package string;

public class CharAtDemo {
    public static void main(String[] args) {
        String str="thinking in java";
        System.out.println(str.charAt(9));//获取下标对应的元素
    }
}
